package com.stream.cloud.simple.service;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient
//配置扫描 Mybatis中 repository 类
@MapperScan("com.stream.cloud.simple.service.repository")
public class CloudSimpleServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(CloudSimpleServiceApplication.class, args);
	}
}
